package me.codegenerator2.rest;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/excel/data/mysql2")
public class Test {
    @ResponseBody
    @GetMapping("/bb")
    public String aa() throws Exception {
        String result = "aaaaaa!";
        return result;
    }

    @ResponseBody
    @GetMapping("/cc")
    public String cc() throws Exception {
        String result = "aaaaaaccccccc12345678!";
        return result;
    }
}
